package com.practice.springboot_01_zwj.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class AccountInfo {
    @JsonProperty("userId")
    private Integer userId; //编号（主键）
    @JsonProperty("acName")
    private String acName; //用户名
    @JsonProperty("userName")
    private String userName; //4A账号
    @JsonProperty("password")
    private String password; //账号密码
    @JsonProperty("cityName")
    private String cityName; //归属地
    @JsonProperty("oaName")
    private String oaName; //OA账号
    @JsonProperty("phone")
    private String phone;  //手机号
    @JsonProperty("delMark")
    private int delMark; //生效标记（0：已删除，1：未删除）
//    private int empId; //医生编号（外键）


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAcName() {
        return acName;
    }

    public void setAcName(String acName) {
        this.acName = acName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getOaName() {
        return oaName;
    }

    public void setOaName(String oaName) {
        this.oaName = oaName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getDelMark() {
        return delMark;
    }

    public void setDelMark(int delMark) {
        this.delMark = delMark;
    }


    //private Employee employee;//职工表对象
    //private List<MenuInfo> menuInfos;//菜单列表
}
